const plugins = [
    [
        "@babel/plugin-transform-runtime",
        {
            "absoluteRuntime": false,
            "corejs": false,
            "helpers": true,
            "regenerator": true,
            "useESModules": false
        }
    ]
];
if (process.env.NODE_ENV === 'production') {
    plugins.push('transform-remove-console')
}

module.exports = {
    'presets': [
        '@vue/app'
    ],
    plugins
};